package suites.stub {
	import org.splink.deepsplink.page.request.IRequestProcessor;

	/**
	 * @author Max Kugland
	 */
	public class RequestProcessorStub implements IRequestProcessor {
		private var _gotoFnc : Function;

		public function RequestProcessorStub(gotoFnc : Function) {
			_gotoFnc = (gotoFnc != null) ? gotoFnc : function(id : String, pageParams : Array):void {
			};
		}

		public function gotoPage(id : String, pageParams : Array) : void {
			_gotoFnc(id, pageParams);
		}

		public function finalize() : void {
		}
	}
}
